export function printMe() {
	console.log('我是从print.js打印出来的！!')
};

export function withPrint() {
	console.log('我是printMe附带的')
};

class print {
	constructor(x,y){
		this.x = 1;
		this.y =2
	}
	
	sayhello(){
		return this.x;
	}

	printMe(){
		console.log('我是从print.js打印出来的！!')
	}

	saygoodbye(){
		console.log('goodbye')
	}
}
class hello extends print {
	constructor(x,y,color){
		super(x,y)
		this.color = 'red';
	}

	say(){
		return `${this.x}+${this.y}+${this.color}`
	}


}

export {print}
export {hello}
class Person{
  constructor(name, age){
    this.name = name;
    this.age = age;
  }

  say(){
    return `我是${this.name},我今年${this.age}岁了。`;
  }
}

export {Person};